<div id="userbar">
<?php if($session->check('Auth.valid')):?>
	<?php echo $html->link(__('Administrar', true), array('controller' => 'shops', 'action' => 'dashboard_index')); ?>
	<?php echo $html->link(__('Personalizar', true), array('controller' => 'shops', 'action' => 'dashboard_settings')); ?>
	<?php echo $html->link(__('Salir', true), array('controller' => 'users', 'action' => 'logout')); ?>
<?php else: ?>
	<?php echo $html->link(__('Ingreso', true), array('controller' => 'users', 'action' => 'login'), array('rel' => 'nofollow')); ?>
	<?php echo $html->link(__('Registrarme', true), array('controller' => 'customers', 'action' => 'signup', 'refer' => Configure::read('Shop.alias')), array('rel' => 'nofollow')); ?>
	<?php echo $html->link(__('Favoritos', true), array('controller' => 'products', 'action' => 'fa'), array('rel' => 'nofollow')); ?>
	<?php echo $html->link(__('Recomiéndanos', true), array('controller' => 'suggest', 'action' => 'index', 'refer' => Configure::read('Shop.alias')), array('rel' => 'nofollow')); ?>
<?php endif; ?>
</div>